package com.maggroup.conference_system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class LoginController {
	
	
	@RequestMapping(value = { "/index", "/" }, produces = "text/plain;charset=UTF-8", method = { RequestMethod.GET,
			RequestMethod.POST })
	public String ftlIndex() {
		System.out.println("---------------to login page----------------");
		return "forward:/dist/index.html";
	}

}
